from django.conf.urls import patterns, include, url
from django.contrib import admin
from main.views import mainpage, uploadIcon, uploadImagePage, viewIcon
from main.loginModule import login, logout
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^blog/', include('blog.urls')),

	url(r'^$', mainpage),
	url(r'^uploadIcon', uploadIcon),
    url(r'^admin/', include(admin.site.urls)),
   	url(r'^loadImage/', uploadImagePage),
   	url(r'^login/', login),
   	url(r'^logout/', logout),
   	url(r'^viewIcon', viewIcon),
)
